package com.demo;

import com.demo.example.RandomLBConfig;
import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableFeignClients

public class App 
{
    public static void main( String[] args )
    {

        SpringApplication.run(App.class,args);
        System.out.println( "Hello World!" );
    }


    @Bean
    Logger.Level feignLoggerInfo()
    {
        return Logger.Level.FULL;
    }
}
